package com.ynny.librarysystemmanager.entity;

import com.ynny.librarysystemmanager.entity.Role;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class User {

    private Integer userId;

    private String name;//真实姓名

    private String username;//用户名

    private String password;

//    private Integer roleId;//角色id

    private Role role;//角色

    private String email;

    private Integer isDelete;//是否禁用  1禁用  0正常


}
